//
//  DiaryOldTimeCell.m
//  PaiLeXiongProject
//
//  Created by 小獾科技 on 2017/8/23.
//  Copyright © 2017年 小獾科技. All rights reserved.
//

#import "DiaryOldTimeCell.h"

@implementation DiaryOldTimeCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if(self = [super initWithStyle:style reuseIdentifier:reuseIdentifier])
    {
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        self.userInteractionEnabled = NO;
        self.backgroundColor = ColorFrom16(0xeef4f7);
        UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 10, GWIDTH, 60)];
        view.backgroundColor = ColorWhite;
        [self addSubview:view];
        
        UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 18, GWIDTH, 25)];
        label.text = @"往期回顾";
        label.textAlignment = 1;
        label.textColor = ColorFrom16(0x202020);
        label.font = PFMFONT(20);
        [view addSubview:label];
        
    }
    return self;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
